//
// Created by mio on 25-5-23.
//

#ifndef GENFRAME_H
#define GENFRAME_H

#include <d3d11.h>
#include "convert.h"

// bool GenNv12Frame(ID3D11Device* device, ID3D11DeviceContext* ctx, const D3D11_TEXTURE2D_DESC& desc,
//     ID3D11Texture2D* img, BufferFiller& buffers, AVFrame*& outFrame, D3dConverter& rgbToNv12);
// bool GenRgbFrame(ID3D11Device* device, ID3D11DeviceContext* ctx, const D3D11_TEXTURE2D_DESC& desc,
//     ID3D11Texture2D* img, BufferFiller& buffers, AVFrame*& outFrame);

#endif //GENFRAME_H